
page,body{
  min-height: 100vh;
  background: var(--page-bg);
}
.home{
  &.tt{
    padding-top: 0px!important;
    .home-crumbs{
      height: auto!important;
      background: transparent;
    }
  }
  .home-crumbs{
    display: flex;
    align-items: center;
    padding: 0 32px;
    position: fixed;
    top:0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    z-index: 100;
    padding-top: 88px;
    color: #fff;
    .at-icon{
      font-size: 36px;
    }
    .crumbs-main{
      display: flex;
      align-items: center;
      height: 86px;
      margin-right: auto;
      margin-left: 24px;
      .main-logo{
        width: 36px;
        height: 36px;
        border-radius: 8px;
      }
      .h2{
        font-size: 30px;
        margin:0 8px;
        font-weight: 400;
      }
    }
    .crumbs-img{
      width: 40px;
      height: 40px;
      margin-left: 40px;
    }
  }  ///  home-crumbs end

  .home-swiper{
    overflow: hidden;
    background: #fff;
    .swiper-img{
      width: 100%;
      height: 422px;
      display: block;
      overflow: hidden;
    }
  }

  .home-category{
    margin: 30px 24px 12px;
    margin-right: 0;
    .category-list{
      display: flex;
      align-items: center;
      overflow-x: auto;
      .list-item{
        margin-right: 16px;
        display: flex;
        align-items: center;
        font-size: 24px;
        color: #000;
        white-space: nowrap;
        .item-img{
          width: 64px;
          height: 64px;
          margin-right: 8px;
          border-radius: 50%;
        }
      }
    }
  }

  .home-tabs{
    padding: 20px 0 0 32px;
    background: linear-gradient(180deg, #FFFFFF, var(--page-bg));
  }

  .home-screen{
    display: flex;
    align-items: center;
    padding: 24px 24px 0;
    position: relative;
    z-index: 1000;
    .screen-item{
      line-height: 1;
      padding: 8px 16px;
      color: var(--title-color);
      background: #fff;
      border-radius: 16px;
      margin-right: 24px;
      font-size: 24px;
    }
    .screen-item:last-child{
      margin-left: auto;
      margin-right: 0;
    }
    .item-drop{
      position: absolute;
      width: 100vw;
      top: 90px;
      left: -1px;
      right: 0;
      font-size: 24px;
      z-index: 1000;
      height: 100vh;
      background: rgba(0,0,0,.8);
    }
    .drop-activity{
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      background: #fff;
      padding: 24px;
      padding-bottom: 8px;
      margin-top: -1px;
      .drop-list{
        line-height: 1;
        padding: 16px 24px;
        margin-right: 16px;
        border-radius: 8px;
        margin-bottom: 16px;
        background: var(--page-bg);
        color: var(--title-color);
      }
    }
    .drop-sort{
      background: #fff;
      margin-top: -1px;
      .drop-list{
        line-height: 74px;
        color: var(--title-color);
        border-bottom: 2px solid var(--border-color);
        font-size: 24px;
        padding: 0 24px;
        &.active{
          color:var(--theme-color)
        }
        &:last-child{border-bottom: 0;}
      }
    }
  }  // home-screen end

  .tabs-list{
    display: flex;
    overflow-x: auto;
    position: relative;
    z-index: 1;
    .tabs-item{
      padding: 0 24px 10px;
      line-height: 34px;
      font-size: 28px;
      font-weight: 700;
      margin-right: 32px;
      white-space: nowrap;
      text-align: center;
      position: relative;
      flex-shrink: 0;
      &::after{
        position: absolute;
        display: block;
        content: '';
        width: 64px;
        height: 6px;
        background: transparent;
        bottom: 0;
        left: 50%;
        transform: translate(-50%,0);
        border-radius: 6px;
      }
      &.active::after{
        background: var(--theme-color);
      }
      text{
        font-weight: 400;
        font-size: 20px;
        color: #66686A;
      }
    }
  }

  .home-list{
    margin: 32px 24px;
    display: flex;
    overflow-x: auto;
    .list-item{
      padding: 24px;
      color: #90989F;
      font-size: 24px;
      background: #fff;
      margin-right: 20px;
      border-radius: 32px;
      .item-img{
        width: 490px;
        height: 280px;
        border-radius: 20px;
      }
      .h2{
        font-size: 32px;
        color: #30383F;
        margin: 12px 0;
      }
      .item-info{
        .info-icon{
          width: 26px;
          height: 26px;
          margin-right: 10px;
        }
        .info-price{
          display: flex;
          align-items: center;
          .p{
            max-width: 262px;
          }
          .strong{
            color: #FF6933;
            margin-left: auto;
            width: 144px;
            text-align: center;
            border-radius: 16px;
            font-weight: 400;
            font-size: 30px;
          }
        }
      }
    }
  }  ///  .home-list end

  .home-hot{
    padding: 20px 24px 0;
    .hot-list{
      padding: 16px;
      border-radius: 16px;
      margin-bottom: 24px;
      background: #fff;
      .item-footer{
        margin-top: 16px;
        display: flex;
        align-items: center;
        font-size: 24px;
        .footer-merchant{
          display: flex;
          align-items: center;
          color: #66686A;
          margin-right: auto;
          .logo{
            width: 40px;
            height: 40px;
            margin-right: 8px;
            border-radius: 50%;
          }
          .icon{
            width: 32px;
            height: 32px;
            margin-left: 8px;
          }
        }
        .footer-price{
          display: flex;
          align-items: flex-end;
          color: var(--theme-color);
          line-height: 1;
          font-weight: 700;
        }
      }
    }
    .hot-item{
      display: flex;
      overflow: hidden;
      .item-img{
        width: 132px;
        height: 176px;
        border-radius: 16px;
        margin-right: 24px;
        position: relative;
        overflow: hidden;
        .item-mask{
          position: absolute;
          background: rgba(17, 24, 39, 0.5);
          color: var(--title-color);
          display: flex;
          align-items: center;
          justify-content: center;
          left: 0;
          right: 0;
          bottom: 0;
          top: 0;
          z-index: 1;
          letter-spacing: 10px;
          font-size: 30px;
          border-radius: 16px;
          .mask-img{
            width: 130px;
            height: 130px;
          }
        }
        .img-pic{
          width: 100%;
          height: 100%;
          border-radius: 20px;
        }
      }
      .item-info{
        min-width: auto;
        font-size: 24px;
        flex: 1;
        display: flex;
        flex-direction: column;
        .h2{
          font-size: 28px;
          font-weight: 700;
          color: var(--title-color);
        }
        .h4{
          font-size: 24px;
          font-weight: 400;
          color: #66686A;
          margin-bottom: 16px;
          display: flex;
          align-items: center;
          image,img{
            min-width: 32px;
            width: 32px;
            height: 32px;
            margin-right: 8px;
          }
        }
        .info-list{
          display: flex;
          flex-wrap: wrap;
          margin: 8px 0;
          text{
            padding: 4px 8px;
            font-size: 24px;
            background: #F6F8FA;
            margin-right: 16px;
            border-radius: 8px;
            color: var(--title-color);
            &.red{
              color:#fff;
              background: #ff0d49;
            }
          }
        }
        .list-item{
          color: #66686A;
          display: flex;
          align-items: flex-end;
          font-size: 24px;
          padding: 8px 16px;
          border-radius: 16px;
          background: var(--page-bg);
          .image{
            width: 32px;
            height: 32px;
            margin-right: 6px;
          }
        }
        .strong{
          color: var(--title-color);
          font-weight: 700;
          margin-right: auto;
        }
      }
    }
  }  /// home-hot end

  .home-title{
    font-size: 30px;
    display: flex;
    justify-content: space-between;
    color: #30383F;
    font-weight: bold;
    margin: 20px 0;
    text{
      color: #90989F;
      font-size: 24px;
      font-weight: 400;
    }
  }
  .other-title{
    font-size: 28px;
    color: #90989F;
    line-height: 1;
    font-weight: 400;
    text-align: center;
    position: relative;
    background: var(--page-bg);
    &::before,&::after{
      position: absolute;
      display: block;
      content: '';
      width: 210px;
      height: 2px;
      top: 50%;
    }
    &::before{
      background: linear-gradient(270deg,#e0e1e2,transparent);
      left: 42px;
    }
    &::after{
      background: linear-gradient(270deg,transparent,#e0e1e2);
      right: 42px;
    }
  }
}
